import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './css/global.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 引入iconfont
import './assets/fonts/iconfont/iconfont.css'
import axios from 'axios'
Vue.use(ElementUI)

// axios
Vue.prototype.$axios = axios
// api 请求根路径
axios.defaults.baseURL = ''

// 配置全局message弹框,$message是自定义属性
Vue.prototype.$message = ElementUI.Message

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
